package com.itheima.service;

import com.itheima.pojo.Article;
import com.itheima.vo.Result;
import org.springframework.stereotype.Service;

@Service
public class ArticleServiceImpl implements ArticleService {
    @Override
    public Result getArticleList() {
        Article article = new Article();
        article.setId(1);
        article.setCategoryId(1);
        article.setTitle("手机");
        article.setContent("华为手机好!");
        return Result.success(article);
    }
}
